﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace wlm.wsx.src.wlm.Newwsx
{
    class OperatorPlus:OperatorBase
    {
        public override double OnCalculate(double[] operands)
        {
            if (operands == null || operands.Length != 2)
                return Double.NaN;
            return operands[0] + operands[1];
        }
       
    }
}
